package com.itheima.Study;

public class Forxunhuan03 {
    public static void main(String[] args) {
        int count = 0;
        int zf = 8844430;
        double paper = 0.1;
        while (paper < zf) {
            paper *= 2;
            count++;

        }
        System.out.println(count);
    }
}
/*for循环 初始化语句--> 条件判断语句 --> 条件控制语句 --> 循环体语句

while循环  初始化语句-->  条件判断语句 --> 循环体语句 --> 条件控制语句
do while 循环 至少执行一次循环

 */
